﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LocationInventoryBatch", "LocationInventoryBatch", new string[] { "LOCATIONINVENTORYID" })]
    [KnownType(typeof(LocationInventoryBatch))]
    public class LocationInventoryBatch : MB.Orm.Common.BaseModel
    {
        public LocationInventoryBatch()
        { }
        private int _LOCATIONINVENTORYID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONINVENTORYID", System.Data.DbType.Int32)]
        public int LOCATIONINVENTORYID
        {
            get { return _LOCATIONINVENTORYID; }
            set { _LOCATIONINVENTORYID = value; }
        }

        private string _INVGOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVGOODSBATCHCODE", System.Data.DbType.String)]
        public string INVGOODSBATCHCODE
        {
            get { return _INVGOODSBATCHCODE; }
            set { _INVGOODSBATCHCODE = value; }
        }

        private string _GOODSBATCHCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSBATCHCODE", System.Data.DbType.String)]
        public string GOODSBATCHCODE
        {
            get { return _GOODSBATCHCODE; }
            set { _GOODSBATCHCODE = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        private int _PURUNITQTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PURUNITQTY", System.Data.DbType.Int32)]
        public int PURUNITQTY
        {
            get { return _PURUNITQTY; }
            set { _PURUNITQTY = value; }
        }

        private string _INVSTATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVSTATUS", System.Data.DbType.String)]
        public string INVSTATUS
        {
            get { return _INVSTATUS; }
            set { _INVSTATUS = value; }
        }
        private string _QUALITYSTATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QUALITYSTATUS", System.Data.DbType.String)]
        public string QUALITYSTATUS
        {
            get { return _QUALITYSTATUS; }
            set { _QUALITYSTATUS = value; }
        }
        private string _CELLNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CELLNO", System.Data.DbType.String)]
        public string CELLNO
        {
            get { return _CELLNO; }
            set { _CELLNO = value; }
        }

        private string _STORAGEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STORAGEDATE", System.Data.DbType.String)]
        public string STORAGEDATE
        {
            get { return _STORAGEDATE; }
            set { _STORAGEDATE = value; }
        }

        private string _EXPIRYDAYS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EXPIRYDAYS", System.Data.DbType.String)]
        public string EXPIRYDAYS
        {
            get { return _EXPIRYDAYS; }
            set { _EXPIRYDAYS = value; }
        }


        private string _STATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STATUS", System.Data.DbType.String)]
        public string STATUS
        {
            get { return _STATUS; }
            set { _STATUS = value; }
        }


        private string _PRODUCTIONDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PRODUCTIONDATE", System.Data.DbType.String)]
        public string PRODUCTIONDATE
        {
            get { return _PRODUCTIONDATE; }
            set { _PRODUCTIONDATE = value; }
        }


        private string _DIFFDAYS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DIFFDAYS", System.Data.DbType.String)]
        public string DIFFDAYS
        {
            get { return _DIFFDAYS; }
            set { _DIFFDAYS = value; }
        }
        private string _OVERDAYS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OVERDAYS", System.Data.DbType.String)]
        public string OVERDAYS
        {
            get { return _OVERDAYS; }
            set { _OVERDAYS = value; }
        }

        private string _WAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSENAME", System.Data.DbType.String)]
        public string WAREHOUSENAME
        {
            get { return _WAREHOUSENAME; }
            set { _WAREHOUSENAME = value; }
        }

        private int _QTY;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("QTY", System.Data.DbType.Int32)]
        public int QTY
        {
            get { return _QTY; }
            set { _QTY = value; }
        }
        private string _UNITNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("UNITNAME", System.Data.DbType.String)]
        public string UNITNAME
        {
            get { return _UNITNAME; }
            set { _UNITNAME = value; }
        }
        private string _LOCATIONCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONCODE", System.Data.DbType.String)]
          public string LOCATIONCODE
        {
            get { return _LOCATIONCODE; }
            set { _LOCATIONCODE = value; }
        }
        private int _SALEDAYS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("SALEDAYS", System.Data.DbType.Int32)]
         public int SALEDAYS
        {
            get { return _SALEDAYS; }
            set { _SALEDAYS = value; }
        }
        
    }
}
